package com.qf.entity;

import java.util.List;

public class Grade {
    private Integer gradeId;
    private String gradeName;
    private Integer stageId;

    private List<Student> studentList;

    @Override
    public String toString() {
        return "Grade{" +
                "gradeId=" + gradeId +
                ", gradeName='" + gradeName + '\'' +
                ", stageId=" + stageId +
                ", studentList=" + studentList +
                '}';
    }

    public Integer getGradeId() {
        return gradeId;
    }

    public void setGradeId(Integer gradeId) {
        this.gradeId = gradeId;
    }

    public String getGradeName() {
        return gradeName;
    }

    public void setGradeName(String gradeName) {
        this.gradeName = gradeName;
    }

    public Integer getStageId() {
        return stageId;
    }

    public void setStageId(Integer stageId) {
        this.stageId = stageId;
    }

    public List<Student> getStudentList() {
        return studentList;
    }

    public void setStudentList(List<Student> studentList) {
        this.studentList = studentList;
    }

    public Grade(Integer gradeId, String gradeName, Integer stageId, List<Student> studentList) {
        this.gradeId = gradeId;
        this.gradeName = gradeName;
        this.stageId = stageId;
        this.studentList = studentList;
    }

    public Grade() {
    }
}
